import java.util.ArrayList;
import java.util.List;

/**
 * ClassName:Demo1_6
 * Package:PACKAGE_NAME
 * <p>
 * Description:
 *
 * @author kiki
 * @create 2025-03-04 16:06
 * @Version 1.0
 */
public class Demo1_6 {
    public <T> void getList(List<? super T> list,T number){
        list.add(number);
    }



    public static void main(String[] args) {
        Demo1_6 d = new Demo1_6();
        ArrayList<B> list = new ArrayList<>();
    }
}
class A{}

class B extends A{

}
